package com.wyzz.hr.action;

import java.util.List;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.bo.IEmpAddConfBo;

public class StaffCustomAction extends BaseAction {

	public StaffCustomAction() {
	}

	public String execute() throws Exception {
		IEmpAddConfBo empAddConfBo = (IEmpAddConfBo) BaseAction
				.getBean("empAddConfBo");
		allEmpaddconf = empAddConfBo.listByTable("empadditional");
		fieldList = empAddConfBo.listAllActiveFieldsByTable("empadditional",
				Integer.valueOf(16));
		return "success";
	}

	public List getAllEmpaddconf() {
		return allEmpaddconf;
	}

	public void setAllEmpaddconf(List allEmpaddconf) {
		this.allEmpaddconf = allEmpaddconf;
	}

	public List getFieldList() {
		return fieldList;
	}

	public void setFieldList(List fieldList) {
		this.fieldList = fieldList;
	}

	private List allEmpaddconf;
	private List fieldList;
	private static final int EMPCONFIGNUMBER = 16;
}
